package user;

import interfaces.TaskI;

import java.io.PrintStream;

/**
 * @param args
 */
class TaskOutputText<IN,OUT> implements TaskI<IN,OUT> {

PrintStream ps;
String line;

  public TaskOutputText(PrintStream ps) {
    this.ps=ps;
  }

@Override
//line-by-line output
public OUT process(IN in) {
	ps.print((in).toString());
	return (OUT) in;
}


}
